package cn.gson.oasys.model.dao.monitor;

import cn.gson.oasys.model.entity.monitor.Monitor;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.ArrayList;

public interface MonitorDao extends JpaRepository<Monitor, Integer> {
   // @Query("select * from aoa_monitor")
   // @Query("select id,operateClassName,operateMethodName,operateUser,operateDate,operateResult from Monitor")
    @Query("from Monitor ")
    ArrayList<Monitor> listLog();
}
